Skip to content

test(e2e): enable pipelining on bot, fees, and avm simulator tests#23329

Open
spalladino wants to merge 3 commits into
merge-train/spartanfrom
spl/pipelining-on-sim-tests
Open

test(e2e): enable pipelining on bot, fees, and avm simulator tests#23329
spalladino wants to merge 3 commits into
merge-train/spartanfrom
spl/pipelining-on-sim-tests

Conversation

@spalladino
Copy link
Copy Markdown
Contributor

@spalladino spalladino commented May 16, 2026

Opts four e2e suites into proposer pipelining now that the simulatePublicCalls inbox-lag mismatch is fixed in 1b11032 ("fix(node): Do not fail public call simulation if inbox is not sealed"):

  • e2e_avm_simulator
  • e2e_bot
  • e2e_fees/private_payments
  • e2e_fees/failures

Each test gets PIPELINING_SETUP_OPTS plus aztecProofSubmissionEpochs: 640 to avoid the unproven-epoch auto-prune during long runs (none of these suites care about reorgs). The transaction-bot config also bumps minFeePadding to PIPELINED_FEE_PADDING since the bot overrides the wallet padding via wallet.setMinFeePadding(config.minFeePadding) in bot/src/factory.ts:60.

@spalladino spalladino added the ci-no-fail-fast Sets NO_FAIL_FAST in the CI so the run is not aborted on the first failure label May 16, 2026
@ludamad ludamad force-pushed the merge-train/spartan branch from 4af2626 to db4ec58 Compare May 16, 2026 19:07
Prevents errors when simulating public calls in the node JSON RPC API
that occur when simulating after a checkpoint has been closed but before
the L2 slot is finished so the inbox is not yet sealed.

See also A-1063
Opts e2e_avm_simulator, e2e_bot, e2e_fees/private_payments, and
e2e_fees/failures into proposer pipelining via PIPELINING_SETUP_OPTS.
The simulatePublicCalls fix in 1b11032 handles the L1ToL2 inbox-lag
mismatch that previously blocked these suites. aztecProofSubmissionEpochs
is bumped to 640 to avoid the unproven-epoch auto-prune during long runs
(none of these suites care about reorgs). The transaction-bot config also
bumps minFeePadding to PIPELINED_FEE_PADDING since the bot overrides the
wallet padding via wallet.setMinFeePadding.
…all-clock under pipelining

e2e_avm_simulator: split AvmTestContract into 'shared deployment' and
'fresh deployment per test' sub-describes. 12 read-only tests now share a
single avmContract deployed in beforeAll; 9 mutating tests (storage, nullifier
emits, the two two-contract nullifier collision tests) still redeploy in
beforeEach. Net contract deploys in AvmTestContract drop from 42 to 20,
shaving ~5 min of slot-paced deploy time off the file.

e2e_bot.test.ts: lower 'creates bot after inbox drift' drift from 10 to 4
checkpoints. The sibling l1_to_l2 drift test already uses 4 and 4 is enough
to exceed inboxLag=2 and exercise the inbox-far-ahead-of-rollup path. Saves
~2 min of wall-clock waiting for the inbox tree to be consumable.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci-no-fail-fast Sets NO_FAIL_FAST in the CI so the run is not aborted on the first failure

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant